package com.tech.pattern.factory.simplefactory.operation;

/**
* @Title SubOperation.java
* @Description TODO
* 减法运算
* @author willard
* @date 2018年7月15日 上午8:16:06
* @version V1.0
*/
public class SubOperation implements Operation{

    @Override
    public double getResult(double numA, double numB) {
        System.out.println("this is sub");
        return numA - numB;
    }
}
